package com.smart.community.work.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 访客登记视图对象
 * 
 * @author Wu.Liang
 * @since 2025-01-30
 * @version 1.0.0
 */
@Data
@Schema(description = "访客登记视图对象")
public class VisitorVO {

    @Schema(description = "访客记录ID")
    private Long id;

    @Schema(description = "访客姓名")
    private String visitorName;

    @Schema(description = "访客身份证号")
    private String visitorIdCard;

    @Schema(description = "访客手机号")
    private String visitorPhone;

    @Schema(description = "访客单位")
    private String visitorCompany;

    @Schema(description = "被访人ID")
    private Long hostId;

    @Schema(description = "被访人姓名")
    private String hostName;

    @Schema(description = "被访人手机号")
    private String hostPhone;

    @Schema(description = "访问目的")
    private String visitPurpose;

    @Schema(description = "访问地址")
    private String visitAddress;

    @Schema(description = "预计访问时间")
    private LocalDateTime plannedVisitTime;

    @Schema(description = "实际到达时间")
    private LocalDateTime actualArrivalTime;

    @Schema(description = "实际离开时间")
    private LocalDateTime actualDepartureTime;

    @Schema(description = "访问状态：0-预约中，1-已到达，2-访问中，3-已离开，4-已取消")
    private Integer status;

    @Schema(description = "状态描述")
    private String statusDesc;

    @Schema(description = "登记人ID")
    private Long registrarId;

    @Schema(description = "登记人姓名")
    private String registrarName;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "创建人ID")
    private Long createBy;

    @Schema(description = "更新人ID")
    private Long updateBy;

    @Schema(description = "物业公司ID")
    private Long propertyCompanyId;

    @Schema(description = "物业公司名称")
    private String propertyCompanyName;
}
